package com.start.security.configs;

import lombok.Data;
import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

import java.util.ArrayList;
import java.util.List;

@Data
@Configuration
@EnableAutoConfiguration
@ConfigurationProperties(prefix = StartSecurityProperties.PREFIX)
public class StartSecurityProperties {
    public static final String PREFIX = "start.security";

    private List<String> ignoreUrls = new ArrayList<>();

    private StartDataSecurityProperties data = new StartDataSecurityProperties();

    private StartSecurityUserProperties user = new StartSecurityUserProperties();


}
